package com.it.selfAfter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.it.selfAfter.dto.RegisterDTO;
import com.it.selfAfter.entity.Users;
import com.it.selfAfter.utils.Result;
import org.apache.catalina.User;
import org.springframework.web.multipart.MultipartFile;

public interface UserService extends IService<Users> {
    Result<?> add(RegisterDTO registerDTO);

    Result<?> getUserByPhone(String phone);

    Result<?> login(RegisterDTO registerDTO);

    Result uploadAvatar(MultipartFile file, Long phone);
    String uploadImg(MultipartFile file, Long phone);

    Result updateQuote(String phone, String quote);

    Result<?> getUsersByUserId(String userId);

    Result<?> updateUUIDByPhone(String phone, String uuid);
}
